package com.yangji.rxjavatest.home;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.yangji.rxjavatest.R;
import com.yangji.rxjavatest.home.contract.DeviceContract;
import com.yangji.rxjavatest.home.presenter.DevicePresenter;
import com.yangji.rxjavatest.rx.RxJavaMain;

public class MainActivity extends AppCompatActivity implements DeviceContract.View {

    private DeviceContract.Presenter presenter = null;
    private static final String TAG = "MainActivity";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        presenter = new DevicePresenter().setView(this);

        new RxJavaMain();//学习Rx


    }


}
